package com.antifly.oauthserver.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LuoJiaHui
 * @date 2023/3/1 16:09
 * @description
 */
@RestController
public class HelloApi {
    @GetMapping("/admin/hello")
    public String admin() {
        return "hello admin!";
    }

    @GetMapping("/user/hello")
    public String user() {
        return "hello user! ";
    }

    @GetMapping("/hello")
    public String hello() {
        return "hello!";
    }
}

